Stripe\StripeTaxForWooCommerce\Stripe\StripeTaxPluginHelper C

Total Complexity 115
Dependencies 8
Dependents 8
Total lines 1,801
Lines of code 464
Logical lines of code 176
Comment lines 325
Methods 53
Properties 0

Methods 53

Method Rating Maintainability Complexity Lines of code
get_cart_or_order_taxable_shipping_methods()
B
39 19 60
get_cart_not_taxable_shipping_methods()
B
39 19 59
fill_stripe_tax_settings_object()
B
48 20 33
get_cart_shipping_methods()
S
58 4 16
get_admin_allowed_html()
S
46 1 48
get_admin_allowed_svg_tags()
S
48 1 41
get_tax_registration_flag_image_file_contents()
S
65 3 8
get_allowed_origin_address_us_states()
S
56 1 19
get_supported_currencies_for_country()
S
69 2 6
get_allowed_origin_address_jp_prefectures()
S
64 2 9
get_postal_code_is_eircode_countries()
S
74 1 5
get_allowed_origin_address_it_provinces()
S
79 1 3
get_allowed_origin_address_es_provinces()
S
79 1 3
get_allowed_origin_address_ae_provinces()
S
80 1 3
get_city_is_town_or_city_countries()
S
70 1 7
get_city_is_district_countries()
S
74 1 5
is_country_supported()
S
79 1 3
get_postal_code_is_zip_countries()
S
74 1 5
get_no_city_countries()
S
72 1 6
get_no_postal_code_countries()
S
72 1 6
get_allowed_origin_address_hk_areas()
S
66 1 8
get_report_link()
S
81 1 3
get_required_field_mark_html()
S
73 1 5
set_stripe_settings_update_error_flag()
S
79 1 3
get_stripe_settings_update_error_flag()
S
73 1 5
set_cart_shipping_methods()
S
69 1 6
get_allowed_origin_address_ie_counties()
S
79 1 3
get_allowed_origin_address_au_states()
S
79 1 3
get_allowed_origin_address_ca_provinces()
S
79 1 3
get_tax_registration_lease_and_amusement_tax_us_states()
S
80 1 3
is_currency_supported()
S
79 1 3
is_currency_zero_decimal()
S
75 1 4
is_currency_three_decimal()
S
75 1 4
is_currency_special_case_round_and_multiply_100()
S
75 1 4
get_allowed_tax_registration_countries()
S
75 1 4
get_allowed_tax_registration_us_states()
S
74 1 4
get_allowed_tax_registration_ca_provinces()
S
74 1 4
get_tax_registration_us_states()
S
80 1 3
get_tax_registration_no_sales_tax_us_states()
S
80 1 3
get_tax_registration_local_communications_tax_us_states()
S
80 1 3
get_tax_registration_digital_countries()
S
80 1 3
get_all_supported_currencies()
S
80 1 3
get_tax_registration_eu_countries()
S
80 1 3
get_tax_registration_standard_tax_countries()
S
80 1 3
get_tax_registration_us_tax_names()
S
80 1 3
get_tax_registration_us_tax_types()
S
80 1 3
get_tax_registration_us_type_of_registration()
S
80 1 3
get_tax_registration_ca_tax_names()
S
80 1 3
get_tax_registration_ca_tax_types()
S
80 1 3
get_tax_registration_ca_type_of_registration()
S
80 1 3
get_tax_registration_flag_eu_image_file_contents()
S
75 1 4
get_allowed_origin_address_countries()
S
75 1 4
do_exit()
S
82 1 3